<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8" isELIgnored="false"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
	// ${pageContext.request.contextPath}
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
<script type="text/javascript" src="<%=path%>/js/jquery/jquery.js"></script>
</head>
<body>
<input type="button" onclick="fun1()" value="confim">
<script type="text/javascript">

	(function(window, undefined){
		var stringutil = (function(){
			this.isBlank = function(str){
				return typeof str;
			};
		});
		
		window.stringutil = new stringutil();
		
	})(window);
	
	function fun1(){
		alert(stringutil.isBlank("dd"));
	}


</script>
	
</body>
</html>